/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.groupreturn.entity;

import com.jeeplus.modules.member.entity.Member;
import com.jeeplus.modules.sessions.entity.Sessions;
import java.util.Date;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 拼团返还记录Entity
 * @author w
 * @version 2021-01-28
 */
public class GroupReturn extends DataEntity<GroupReturn> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户
	private Sessions sessions;		// 场次
	private Double money;		// 返还金额
	private String orderNo;		// 订单编号
	private Date beginUpdateDate;		// 开始 更新时间
	private Date endUpdateDate;		// 结束 更新时间

	//前端拼团奖明细展示用    时间
	private String returnTime;
	
	public GroupReturn() {
		super();
	}

	public GroupReturn(String id){
		super(id);
	}

	@ExcelField(title="用户", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="场次", fieldType=Sessions.class, value="sessions.sessionsName", align=2, sort=2)
	public Sessions getSessions() {
		return sessions;
	}

	public void setSessions(Sessions sessions) {
		this.sessions = sessions;
	}
	
	@ExcelField(title="返还金额", align=2, sort=3)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	@ExcelField(title="订单编号", align=2, sort=4)
	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	public Date getBeginUpdateDate() {
		return beginUpdateDate;
	}

	public void setBeginUpdateDate(Date beginUpdateDate) {
		this.beginUpdateDate = beginUpdateDate;
	}
	
	public Date getEndUpdateDate() {
		return endUpdateDate;
	}

	public void setEndUpdateDate(Date endUpdateDate) {
		this.endUpdateDate = endUpdateDate;
	}

	public String getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(String returnTime) {
		this.returnTime = returnTime;
	}
}